#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "devicemodel.h"
#include "controller/xdumper2.h"
#include "controller/devicemanager.h"
#include "displaydelegate.h"
#include <QThread>
#include <QDebug>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;

    deviceModel *devicemodel;
    displayDelegate *displaydelegate;
    QThread *deviceManagerThread;
    deviceManager *devicemanager;

public slots:
    void syncDeviceList(QList<checkmeDevice> hasConnectList);
//    void getDeviceFileList(checkmeDevice info);
};

#endif // MAINWINDOW_H
